package com.ruoyi.project.search.viewOutHistory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单据历史对象 view_out_history
 * 
 * @author ruoyi
 * @date 2023-08-30
 */
public class ViewOutHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子表ID */
    @Excel(name = "子表ID")
    private String stockoutDetailId;

    /** 主表ID */
    @Excel(name = "主表ID")
    private String stockoutId;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String outType;

    /** 建单人 */
    @Excel(name = "建单人")
    private String createManId;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDate;

    /** 单据来源 */
    @Excel(name = "单据来源")
    private String stockoutSource;

    /** 下发订单号 */
    @Excel(name = "下发订单号")
    private String FID;

    /** 优先级 */
    @Excel(name = "优先级")
    private String carNumber;

    /** 批号 */
    @Excel(name = "批号")
    private String lotNo;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String productId;

    /** 生产日期 */
    @Excel(name = "生产日期")
    private String unitName;

    /** 客户 */
    @Excel(name = "客户")
    private String outId;

    /** 物品状态 */
    @Excel(name = "物品状态")
    private String price;

    /** 供应商 */
    @Excel(name = "供应商")
    private String entryid;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 重量 */
    @Excel(name = "重量")
    private Long quantityX;

    /** 包装 */
    @Excel(name = "包装")
    private String kechaiQuantity;

    /** MES单据编号 */
    @Excel(name = "MES单据编号")
    private String erpStockoutId;

    /** 仓库 */
    @Excel(name = "仓库")
    private String warehouseId;

    public void setStockoutDetailId(String stockoutDetailId) 
    {
        this.stockoutDetailId = stockoutDetailId;
    }

    public String getStockoutDetailId() 
    {
        return stockoutDetailId;
    }
    public void setStockoutId(String stockoutId) 
    {
        this.stockoutId = stockoutId;
    }

    public String getStockoutId() 
    {
        return stockoutId;
    }
    public void setOutType(String outType) 
    {
        this.outType = outType;
    }

    public String getOutType() 
    {
        return outType;
    }
    public void setCreateManId(String createManId) 
    {
        this.createManId = createManId;
    }

    public String getCreateManId() 
    {
        return createManId;
    }
    public void setCreateDate(String createDate) 
    {
        this.createDate = createDate;
    }

    public String getCreateDate() 
    {
        return createDate;
    }
    public void setStockoutSource(String stockoutSource) 
    {
        this.stockoutSource = stockoutSource;
    }

    public String getStockoutSource() 
    {
        return stockoutSource;
    }
    public void setFID(String FID) 
    {
        this.FID = FID;
    }

    public String getFID() 
    {
        return FID;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setLotNo(String lotNo) 
    {
        this.lotNo = lotNo;
    }

    public String getLotNo() 
    {
        return lotNo;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setOutId(String outId) 
    {
        this.outId = outId;
    }

    public String getOutId() 
    {
        return outId;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setEntryid(String entryid) 
    {
        this.entryid = entryid;
    }

    public String getEntryid() 
    {
        return entryid;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setQuantityX(Long quantityX) 
    {
        this.quantityX = quantityX;
    }

    public Long getQuantityX() 
    {
        return quantityX;
    }
    public void setKechaiQuantity(String kechaiQuantity) 
    {
        this.kechaiQuantity = kechaiQuantity;
    }

    public String getKechaiQuantity() 
    {
        return kechaiQuantity;
    }
    public void setErpStockoutId(String erpStockoutId) 
    {
        this.erpStockoutId = erpStockoutId;
    }

    public String getErpStockoutId() 
    {
        return erpStockoutId;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockoutDetailId", getStockoutDetailId())
            .append("stockoutId", getStockoutId())
            .append("outType", getOutType())
            .append("createManId", getCreateManId())
            .append("createDate", getCreateDate())
            .append("stockoutSource", getStockoutSource())
            .append("FID", getFID())
            .append("carNumber", getCarNumber())
            .append("lotNo", getLotNo())
            .append("productId", getProductId())
            .append("unitName", getUnitName())
            .append("outId", getOutId())
            .append("price", getPrice())
            .append("entryid", getEntryid())
            .append("quantity", getQuantity())
            .append("quantityX", getQuantityX())
            .append("kechaiQuantity", getKechaiQuantity())
            .append("erpStockoutId", getErpStockoutId())
            .append("warehouseId", getWarehouseId())
            .toString();
    }
}
